home *** CD-ROM | disk | FTP | other *** search
/ Sky at Night 2007 June / SAN CD 6-2007 CD-ROM 25.iso / pc / Software / AstroGrav_Win / Java / jre1.6.0 / lib / rt.jar / java / sql / PreparedStatement.class (.txt) < prev    next >
Encoding:
Java Class File  |  2006-11-29  |  2.4 KB  |  121 lines

  1. package java.sql;
  2.  
  3. import java.io.InputStream;
  4. import java.io.Reader;
  5. import java.math.BigDecimal;
  6. import java.net.URL;
  7. import java.util.Calendar;
  8.  
  9. public interface PreparedStatement extends Statement {
  10.    ResultSet executeQuery() throws SQLException;
  11.  
  12.    int executeUpdate() throws SQLException;
  13.  
  14.    void setNull(int var1, int var2) throws SQLException;
  15.  
  16.    void setBoolean(int var1, boolean var2) throws SQLException;
  17.  
  18.    void setByte(int var1, byte var2) throws SQLException;
  19.  
  20.    void setShort(int var1, short var2) throws SQLException;
  21.  
  22.    void setInt(int var1, int var2) throws SQLException;
  23.  
  24.    void setLong(int var1, long var2) throws SQLException;
  25.  
  26.    void setFloat(int var1, float var2) throws SQLException;
  27.  
  28.    void setDouble(int var1, double var2) throws SQLException;
  29.  
  30.    void setBigDecimal(int var1, BigDecimal var2) throws SQLException;
  31.  
  32.    void setString(int var1, String var2) throws SQLException;
  33.  
  34.    void setBytes(int var1, byte[] var2) throws SQLException;
  35.  
  36.    void setDate(int var1, Date var2) throws SQLException;
  37.  
  38.    void setTime(int var1, Time var2) throws SQLException;
  39.  
  40.    void setTimestamp(int var1, Timestamp var2) throws SQLException;
  41.  
  42.    void setAsciiStream(int var1, InputStream var2, int var3) throws SQLException;
  43.  
  44.    /** @deprecated */
  45.    void setUnicodeStream(int var1, InputStream var2, int var3) throws SQLException;
  46.  
  47.    void setBinaryStream(int var1, InputStream var2, int var3) throws SQLException;
  48.  
  49.    void clearParameters() throws SQLException;
  50.  
  51.    void setObject(int var1, Object var2, int var3) throws SQLException;
  52.  
  53.    void setObject(int var1, Object var2) throws SQLException;
  54.  
  55.    boolean execute() throws SQLException;
  56.  
  57.    void addBatch() throws SQLException;
  58.  
  59.    void setCharacterStream(int var1, Reader var2, int var3) throws SQLException;
  60.  
  61.    void setRef(int var1, Ref var2) throws SQLException;
  62.  
  63.    void setBlob(int var1, Blob var2) throws SQLException;
  64.  
  65.    void setClob(int var1, Clob var2) throws SQLException;
  66.  
  67.    void setArray(int var1, Array var2) throws SQLException;
  68.  
  69.    ResultSetMetaData getMetaData() throws SQLException;
  70.  
  71.    void setDate(int var1, Date var2, Calendar var3) throws SQLException;
  72.  
  73.    void setTime(int var1, Time var2, Calendar var3) throws SQLException;
  74.  
  75.    void setTimestamp(int var1, Timestamp var2, Calendar var3) throws SQLException;
  76.  
  77.    void setNull(int var1, int var2, String var3) throws SQLException;
  78.  
  79.    void setURL(int var1, URL var2) throws SQLException;
  80.  
  81.    ParameterMetaData getParameterMetaData() throws SQLException;
  82.  
  83.    void setRowId(int var1, RowId var2) throws SQLException;
  84.  
  85.    void setNString(int var1, String var2) throws SQLException;
  86.  
  87.    void setNCharacterStream(int var1, Reader var2, long var3) throws SQLException;
  88.  
  89.    void setNClob(int var1, NClob var2) throws SQLException;
  90.  
  91.    void setClob(int var1, Reader var2, long var3) throws SQLException;
  92.  
  93.    void setBlob(int var1, InputStream var2, long var3) throws SQLException;
  94.  
  95.    void setNClob(int var1, Reader var2, long var3) throws SQLException;
  96.  
  97.    void setSQLXML(int var1, SQLXML var2) throws SQLException;
  98.  
  99.    void setObject(int var1, Object var2, int var3, int var4) throws SQLException;
  100.  
  101.    void setAsciiStream(int var1, InputStream var2, long var3) throws SQLException;
  102.  
  103.    void setBinaryStream(int var1, InputStream var2, long var3) throws SQLException;
  104.  
  105.    void setCharacterStream(int var1, Reader var2, long var3) throws SQLException;
  106.  
  107.    void setAsciiStream(int var1, InputStream var2) throws SQLException;
  108.  
  109.    void setBinaryStream(int var1, InputStream var2) throws SQLException;
  110.  
  111.    void setCharacterStream(int var1, Reader var2) throws SQLException;
  112.  
  113.    void setNCharacterStream(int var1, Reader var2) throws SQLException;
  114.  
  115.    void setClob(int var1, Reader var2) throws SQLException;
  116.  
  117.    void setBlob(int var1, InputStream var2) throws SQLException;
  118.  
  119.    void setNClob(int var1, Reader var2) throws SQLException;
  120. }
  121.